package com.yisu.auction.manager.core.service;

import com.yisu.auction.ewf.common.web.EasyUIGrid;
import com.yisu.auction.ewf.entity.SystemConfig;
import com.yisu.auction.manager.domain.request.systemConfigPackage.SystemConfigRequest;

/**
 * author: 黄萧林
 * Business Description：
 * createTime：2017/8/24
 */
public interface ISystemConfigService {

    /**
     * author:黄萧林
     * Business Description:获取系统配置信息
     * @param systemConfigRequest
     * @return
     */
    EasyUIGrid<SystemConfig> getSystemConfigInfoByPage(SystemConfigRequest systemConfigRequest);

    /**
     * author:黄萧林
     * Business Description:添加/编辑系统配置信息
     * @return
     */
    boolean modifySystemConfigInfo(SystemConfig systemConfig);


    /**
     * author:黄萧林
     * Business Description:删除
     * @return
     */
    boolean deleteSystemConfigInfo(Long id);

    /**
     * author:黄萧林
     * Business Description:获取一条数据
     * @param id
     * @return
     */
    SystemConfig getSystemConfig(Long id);
}
